
target("dev8030")
    set_kind("static")
    add_deps("com")
    add_includedirs("../")
    add_includedirs("./")

    add_files("dev8030.c")
    add_files("hotplug_rpc.c")

    if get_config("USING_8030USB") == true then
        includes("usb8030")
        add_deps("usb8030")
        add_includedirs("usb8030")
    end

    if get_config("USING_8030UART") == true then
        includes("uart8030")
        add_deps("uart8030")
        add_includedirs("uart8030")
    end

    if get_config("USING_8030SDIO") == true then
        includes("sdio8030")
        add_deps("sdio8030")
        add_includedirs("sdio8030")
    end

    if get_config("USING_8030DRV") == true then
        includes("drv8030")
        add_deps("drv8030")
        add_includedirs("drv8030")
    end

    on_install(function (target)
    end)
